package com.ruyiadmin.springboot.entity_data_model.data_transformation_model.system_model;

import com.ruyiadmin.springboot.common_infrastructure.models.base_entity_model.RuYiAdminBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * 角色DTO模型
 *
 * @author RuYiAdmin
 * @since 2022-08-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "SysRoleDTO对象", description = "系统角色")
public class SysRoleDTO extends RuYiAdminBaseDTO {
    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("序号")
    private Integer serialNumber;

    @ApiModelProperty("预留字段1")
    @Length(max = 36)
    private String extend1;

    @ApiModelProperty("预留字段2")
    @Length(max = 64)
    private String extend2;

    @ApiModelProperty("预留字段3")
    @Length(max = 128)
    private String extend3;

    @ApiModelProperty("预留字段4")
    @Length(max = 256)
    private String extend4;

    @ApiModelProperty("预留字段5")
    @Length(max = 512)
    private String extend5;

    @ApiModelProperty("机构编号")
    private String orgId;

    @ApiModelProperty("机构名称")
    private String orgName;
}
